<template>
    <div>
        <router-view></router-view>
        <van-tabbar route v-model="active">
            <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
            <van-tabbar-item to="/find" icon="guide-o">发现</van-tabbar-item>
            <van-tabbar-item to="/send" icon="plus">发布</van-tabbar-item>
            <van-tabbar-item to="/chat" icon="friends-o">聊天</van-tabbar-item>
            <van-tabbar-item to="/user" icon="user-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
export default {
    data() {
        return {
            active: 0,
        };
    },
};
</script>

<style></style>